package com.by.mapper;

import com.by.entity.OrderItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface OrderItemMapper {
    /**
     * 批量保存明细
     * @param orderId
     * @param orderItemList
     * @return
     */
    int batchSave(@Param("orderId") int orderId,@Param("orderItemList") List<OrderItem> orderItemList);
}
